// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import routes from './router'
import VueRouter from 'vue-router'
Vue.use(VueRouter);
const router = new VueRouter({
    mode: 'hash',
    routes: routes
})

import { axios } from './assets/js/config'
Vue.prototype.$axios = axios

// import './assets/css/reset.css'
import 'element-ui/lib/theme-default/index.css'
import ElementUI from 'element-ui'
Vue.use(ElementUI);

//import $ from 'jquery'
//import 'bootstrap/dist/css/bootstrap.css'

import Vuex from 'vuex'
import store from './vuex/Store'
Vue.use(Vuex)


import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
    /* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
})